package mk.basic;

public class J01_Subject {

	public static void main(String[] args) {
		// 1. 변수 선언 및 초기화
		String subjectno; 
		String subname;
		String subsum;
		String prof;
		        
		String subjectno2; 
		String subname2;
		String subsum2;
		String prof2;
		
		String subjectno3; 
		String subname3;
		String subsum3;
		String prof3;
		
		String subjectno4; 
		String subname4;
		String subsum4;
		String prof4;
		
		     
        
        subjectno="0205";
	    subname="프로그래밍";
		subsum="자바 프로그래밍";
		prof="301";
        
		subjectno2="0211";
		subname2="드레스코드";
		subsum2="옷 입기의 기초";
		prof2="445";
		
		subjectno3="5029";
		subname3="생활의 참견";
		subsum3="음식의 영양";
		prof3="556";
		
		subjectno4="4111";
		subname4="악마의 사도";
		subsum4="종교와 철학, 과학의 얽힘";
		prof4="504";
	
		// 2. 처리
		
		// 3. 결과 출력
		System.out.println("과목번호\t과목명\t\t과목개요\t\t\t담당교수");
		System.out.println("-------------------------------------------------------------------------");
        System.out.print(subjectno);
        System.out.print("\t" + subname);
        System.out.print("\t\t" + subsum);
        System.out.println("\t\t" + prof);

        System.out.println("-------------------------------------------------------------------------");
        System.out.print(subjectno2);
        System.out.print("\t" + subname2);
        System.out.print("\t\t" + subsum2);
        System.out.println("\t\t" + prof2);
        
        System.out.println("-------------------------------------------------------------------------");
        System.out.print(subjectno3);
        System.out.print("\t" + subname3);
        System.out.print("\t\t" + subsum3);
        System.out.println("\t\t\t" + prof3);
        
        System.out.println("-------------------------------------------------------------------------");
        System.out.print(subjectno4);
        System.out.print("\t" + subname4);
        System.out.print("\t\t" + subsum4);
        System.out.print("\t" + prof4);
        
        
	}

}
